﻿using BenCaoXuan.Infrastructure.Attr;
using BenCaoXuan.Infrastructure.Dto;
using BenCaoXuan.Infrastructure.Dto.Admin.Appointment;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BenCaoXuan.Service.Interface.admin
{
    [Provider_]
    public interface I_Appointment_Service
    {
        /// <summary>
        /// 取消预约
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        Task<Api_Result_Dto> Cancel_Appointment(IsBan_Dto dto);

        /// <summary>
        /// 获取所有预约
        /// </summary>
        /// <param name="fenye_Dto"></param>
        /// <returns></returns>
        Task<Api_Result_Dto> Get_Appointment(Fenye_Dto fenye_Dto);

        /// <summary>
        /// 获取预约的静态数据
        /// </summary>
        /// <returns></returns>
        Task<Api_Result_Dto> Get_Appointment_StatisticsData();

        /// <summary>
        /// 编辑预约
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        Task<Api_Result_Dto> Update_Appointment(UpdateAppointment_Dto dto);
    }
}
